package cn.gson.springboot.model.service;

import cn.gson.springboot.model.mapper.CustomerViewMapper;
import cn.gson.springboot.model.pojos.Customer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CustomerViewService {
    @Autowired
    CustomerViewMapper customerViewMapper;
    public Customer selectCustomerById(Integer customerId){
        return customerViewMapper.selectCustomerById(customerId);
    }
}
